//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.jiaai.cloud.base.exception;

public enum ErrorCode {
    ILLEGAL_PARAMS(Integer.valueOf(400), "请求参数有误!", (String)null),
    SERVER_ERROR(Integer.valueOf(500), "服务器内部异常!", (String)null);

    private Integer code;
    private String message;
    private String description;
    public static final int VALIDATE_ERROR_CODE = 400;
    public static final int SERVER_ERROR_CODE = 403;
    public static final int LOGIN_ERROR = 401;
    public static final int NOT_LOGIN = 40002;
    public static final int NOT_USER = 40003;
    public static final int USER_IS_CREATE = 40004;
    private static final int NOT_PERMISSION = 40005;
    public static final int INSUFFICIENT_IN_AMOUNT=40006;//用户余额不足
    private ErrorCode(Integer code, String message, String description) {
        this.code = code;
        this.message = message;
    }

    public String getDescription() {
        return this.description;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
